package com.sri.db.dao.login;

import java.sql.SQLException;
import java.util.Map;

import com.sri.model.user.User;

public class LoginDAOService implements LoginDAO {
  LoginDAOImpl loginDAOImpl;

  public void setLoginDAOImpl(LoginDAOImpl loginDAOImpl) {
    this.loginDAOImpl = loginDAOImpl;
  }

  public LoginDAOService() {
  }

  public void auditUserDetails(User u) throws SQLException {
    loginDAOImpl.auditUserDetails(u);

  }

  public boolean checkUserCredentials(Map map) throws SQLException {
    return loginDAOImpl.checkUserCredentials(map);
  }

  public void getUserDetails(long uId) throws SQLException {
    loginDAOImpl.getUserDetails(uId);

  }

  public void auditUserDetails() {
    // TODO Auto-generated method stub

  }

}
